import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { ChangePwdPage } from './changePwd';

@Component({
  selector: 'page-password',
  templateUrl: 'password.html',
})
export class PasswordPage {

  constructor(public navCtrl: NavController) {
  }


  changePwdAciont(index){
    var obj = {};
    if (index == 1){
      obj = {"key":"login"};
    }else if(index == 2){
      obj = {"key":"safety"}
    }
    this.navCtrl.push(ChangePwdPage,obj);
  }

}
